DESCRIPTION = "BRCM firmware provided for brcm chip based net components"

LICENSE = "CLOSED"

do_configure[noexec] = "1"
do_compile[noexec] = "1"
do_install[nostamp] += "1"

FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += " \
    file://brcm/brcmfmac43362-sdio.bin \
	file://brcm/brcmfmac43362-sdio.txt \
"

S = "${WORKDIR}"

INSANE_SKIP_${PN} += "arch"

do_install () {
    install -d ${D}/lib/firmware/brcm
    install -m 0755 ${S}/brcm/* ${D}/lib/firmware/brcm
}

PACKAGES = "${PN}"

FILES_${PN} = " \
        /lib/firmware/brcm/brcmfmac43362-sdio.bin \
        /lib/firmware/brcm/brcmfmac43362-sdio.txt \
"
